package com.chuanyang.driverh.response2;

import com.chuanyang.driverh.responseresult.Result;

import java.io.Serializable;
import java.util.List;

/**
 * Created by xupeixian on 2017/4/18.
 */

public class ResultGetOrder extends Result implements Serializable{

    /**
     * code : 100
     * data : {"data":{"data":[{"beginCity":"上海市","dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","distance":0,"driverId":1016,"endCity":"苏州市","endTime":"2017-04-10 07:54","fleetId":0,"goodss":[{"goodsName":"1","goodsNum":"1"}],"operate":2,"orderId":4253,"orderNo":"D02041000000051","orderStatus":4,"orderTime":"2017-04-10 07:55","orderType":3,"payStatus":0,"price":"5.000","returned":0,"startTime":"2017-04-10 07:54","sumGoodsNum":216,"sumGoodsWeight":216}],"total":1,"totalPages":1},"driverOrderInfoCount":{"allCount":1,"onTheDayCount":0,"putOnHoleCount":0,"theCumulativeCount":1}}
     */

    private PageEntity data;

    public void setData(PageEntity data) {
        this.data = data;
    }

    public PageEntity getData() {
        return data;
    }


        public static class PageEntity  implements Serializable{
            /**
             * data : [{"beginCity":"上海市","dateEndSuffix":" 23:59:59","dateStartSuffix":" 00:00:00","distance":0,"driverId":1016,"endCity":"苏州市","endTime":"2017-04-10 07:54","fleetId":0,"goodss":[{"goodsName":"1","goodsNum":"1"}],"operate":2,"orderId":4253,"orderNo":"D02041000000051","orderStatus":4,"orderTime":"2017-04-10 07:55","orderType":3,"payStatus":0,"price":"5.000","returned":0,"startTime":"2017-04-10 07:54","sumGoodsNum":216,"sumGoodsWeight":216}]
             * total : 1
             * totalPages : 1
             */

            private int total;
            private int totalPages;
            private List<OrderEntity> data;

            public void setTotal(int total) {
                this.total = total;
            }

            public void setTotalPages(int totalPages) {
                this.totalPages = totalPages;
            }

            public void setData(List<OrderEntity> data) {
                this.data = data;
            }

            public int getTotal() {
                return total;
            }

            public int getTotalPages() {
                return totalPages;
            }

            public List<OrderEntity> getData() {
                return data;
            }

            public static class OrderEntity  implements Serializable{
                /**
                 * beginCity : 上海市
                 * dateEndSuffix :  23:59:59
                 * dateStartSuffix :  00:00:00
                 * distance : 0
                 * driverId : 1016
                 * endCity : 苏州市
                 * endTime : 2017-04-10 07:54
                 * fleetId : 0
                 * goodss : [{"goodsName":"1","goodsNum":"1"}]
                 * operate : 2
                 * orderId : 4253
                 * orderNo : D02041000000051
                 * orderStatus : 4
                 * orderTime : 2017-04-10 07:55
                 * orderType : 3
                 * payStatus : 0
                 * price : 5.000
                 * returned : 0
                 * startTime : 2017-04-10 07:54
                 * sumGoodsNum : 216
                 * sumGoodsWeight : 216.0
                 */

                private String beginCity;
                private String dateEndSuffix;
                private String dateStartSuffix;
                private int distance;
                private int driverId;
                private String endCity;
                private String endTime;
                private int fleetId;
                private int operate;
                private int orderId;
                private String orderNo;
                private int orderStatus;
                private String orderTime;
                private int orderType;
                private int payStatus;
                private String price;
                private int currency;
                private String bidPrice;
                private String bidId;
                private String minBid;
                private String appoint;
                private int returned;

                private String startTime;
                private double sumGoodsNum;
                private double sumGoodsWeight;
                private List<GoodssEntity> goodss;
                private int type;
                private int transPortWay;
                private String stevedoreDay;

                private String noticeNo;
                private String fq;

                public String getFq() {
                    return fq;
                }

                public void setFq(String fq) {
                    this.fq = fq;
                }

                public int getTransPortWay() {
                    return transPortWay;
                }

                public void setTransPortWay(int transPortWay) {
                    this.transPortWay = transPortWay;
                }

                public String getStevedoreDay() {
                    return stevedoreDay;
                }

                public void setStevedoreDay(String stevedoreDay) {
                    this.stevedoreDay = stevedoreDay;
                }

                public String getNoticeNo() {
                    return noticeNo;
                }

                public void setNoticeNo(String noticeNo) {
                    this.noticeNo = noticeNo;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public int getCurrency() {
                    return currency;
                }

                public void setCurrency(int currency) {
                    this.currency = currency;
                }

                public String getAppoint() {
                    return appoint;
                }

                public void setAppoint(String appoint) {
                    this.appoint = appoint;
                }

                public String getBidId() {
                    return bidId;
                }

                public void setBidId(String bidId) {
                    this.bidId = bidId;
                }

                public String getBidPrice() {
                    return bidPrice;
                }

                public void setBidPrice(String bidPrice) {
                    this.bidPrice = bidPrice;
                }

                public String getMinBid() {
                    return minBid;
                }

                public void setMinBid(String minBid) {
                    this.minBid = minBid;
                }

                public double getSumGoodsNum() {
                    return sumGoodsNum;
                }

                public void setSumGoodsNum(double sumGoodsNum) {
                    this.sumGoodsNum = sumGoodsNum;
                }

                public void setBeginCity(String beginCity) {
                    this.beginCity = beginCity;
                }

                public void setDateEndSuffix(String dateEndSuffix) {
                    this.dateEndSuffix = dateEndSuffix;
                }

                public void setDateStartSuffix(String dateStartSuffix) {
                    this.dateStartSuffix = dateStartSuffix;
                }

                public void setDistance(int distance) {
                    this.distance = distance;
                }

                public void setDriverId(int driverId) {
                    this.driverId = driverId;
                }

                public void setEndCity(String endCity) {
                    this.endCity = endCity;
                }

                public void setEndTime(String endTime) {
                    this.endTime = endTime;
                }

                public void setFleetId(int fleetId) {
                    this.fleetId = fleetId;
                }

                public void setOperate(int operate) {
                    this.operate = operate;
                }

                public void setOrderId(int orderId) {
                    this.orderId = orderId;
                }

                public void setOrderNo(String orderNo) {
                    this.orderNo = orderNo;
                }

                public void setOrderStatus(int orderStatus) {
                    this.orderStatus = orderStatus;
                }

                public void setOrderTime(String orderTime) {
                    this.orderTime = orderTime;
                }

                public void setOrderType(int orderType) {
                    this.orderType = orderType;
                }

                public void setPayStatus(int payStatus) {
                    this.payStatus = payStatus;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public void setReturned(int returned) {
                    this.returned = returned;
                }

                public void setStartTime(String startTime) {
                    this.startTime = startTime;
                }



                public void setSumGoodsWeight(double sumGoodsWeight) {
                    this.sumGoodsWeight = sumGoodsWeight;
                }

                public void setGoodss(List<GoodssEntity> goodss) {
                    this.goodss = goodss;
                }

                public String getBeginCity() {
                    return beginCity;
                }

                public String getDateEndSuffix() {
                    return dateEndSuffix;
                }

                public String getDateStartSuffix() {
                    return dateStartSuffix;
                }

                public int getDistance() {
                    return distance;
                }

                public int getDriverId() {
                    return driverId;
                }

                public String getEndCity() {
                    return endCity;
                }

                public String getEndTime() {
                    return endTime;
                }

                public int getFleetId() {
                    return fleetId;
                }

                public int getOperate() {
                    return operate;
                }

                public int getOrderId() {
                    return orderId;
                }

                public String getOrderNo() {
                    return orderNo;
                }

                public int getOrderStatus() {
                    return orderStatus;
                }

                public String getOrderTime() {
                    return orderTime;
                }

                public int getOrderType() {
                    return orderType;
                }

                public int getPayStatus() {
                    return payStatus;
                }

                public String getPrice() {
                    return price;
                }

                public int getReturned() {
                    return returned;
                }

                public String getStartTime() {
                    return startTime;
                }



                public double getSumGoodsWeight() {
                    return sumGoodsWeight;
                }

                public List<GoodssEntity> getGoodss() {
                    return goodss;
                }

                public static class GoodssEntity  implements Serializable{
                    /**
                     * goodsName : 1
                     * goodsNum : 1
                     */

                    private String goodsName;
                    private String goodsNum;

                    public void setGoodsName(String goodsName) {
                        this.goodsName = goodsName;
                    }

                    public void setGoodsNum(String goodsNum) {
                        this.goodsNum = goodsNum;
                    }

                    public String getGoodsName() {
                        return goodsName;
                    }

                    public String getGoodsNum() {
                        return goodsNum;
                    }
                }
            }
        }


    }





